/**
 * @copyright CYZ
 * @time 2022/8/5
 */

// 安全区域
// page{
// 	padding-bottom: constant(safe-area-inset-bottom);
// 	padding-bottom: env(safe-area-inset-bottom);
// }

//详情标题
.detail-top-title{
	text-align: center;
	.title{
		font-size: 30rpx;
		font-family: PingFang SC, PingFang SC-Bold;
		font-weight: 700;
		text-align: center;
		color: #0d8748;
		margin: 0 26rpx;
		vertical-align: middle;
	}
	.line{
		width: 63rpx;
		height: 6rpx;
		vertical-align: middle;
		&:last-child{
			transform: rotateY(180deg);
		}
	}
}

//弹窗1
.tip-popup{
	.content-box{
		width: 530rpx;
		background-color: white;
		border-radius: 20rpx;
		overflow: hidden;
		.title{
			height: 90rpx;
			width: 100%;
			text-align: center;
			font-size: 30rpx;
			font-family: PingFang SC, PingFang SC-Bold;
			font-weight: 700;
			text-align: center;
			color: #1a1a1a;
			line-height: 90rpx;
			background: #e6e6e6;
		}
		.content{
			padding: 66rpx 0 49rpx 0!important;
			text-align: center;
			.tip{
				width: 404rpx;
				font-size: 26rpx;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				text-align: left;
				color: #666666;
				line-height: 38rpx;
				margin: 0 auto 20rpx auto;
				word-break: break-all;
			}
			.btn{
				background: #20A634;
				border-radius: 40rpx;
				width: fit-content;
				height: 80rpx;
				font-size: 26rpx;
				padding: 0 90rpx;
				box-sizing: border-box;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				text-align: center;
				color: #ffffff;
				line-height: 80rpx;
				margin: 40rpx auto 20rpx auto;
				&.donation{
					width: 434rpx;
					background: #f8a764;
					margin: 0 auto 20rpx auto;
				}
			}
			.btn-box{
				display: flex;
				justify-content: space-around;
				margin-top: 40rpx;
				button{
					width: 200rpx;
					height: 80rpx;
					border: 1px solid #FF721B;
					border-radius: 40rpx;
					font-size: 32rpx;
					font-family: PingFang SC, PingFang SC-Regular;
					font-weight: 400;
					text-align: center;
					background-color: #FF721B;
					color: white;
					line-height: 80rpx;
					&:nth-child(1){
						background-color: white;
						color: #FF721B;
					}
				}
			}
		}
	}
}

//弹窗2
.submit-popup{
	.content-box{
		border-radius: 12rpx;
		width: 530rpx;
		padding: 64rpx 46rpx 74rpx 46rpx;
		box-sizing: border-box;
		background-color: white;
		.title{
			font-size: 32rpx;
			font-family: PingFang SC, PingFang SC-Bold;
			font-weight: 700;
			text-align: center;
			color: #1a1a1a;
		}
		.content{
			padding: 0!important;
			.success-icon{
				display: block;
				width: 107rpx;
				height: 107rpx;
				margin: 40rpx auto 34rpx auto;
			}
			.tip{
				margin: 0 auto;
				width: 260rpx;
				font-size: 26rpx;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				text-align: center;
				color: #666666;
				line-height: 42rpx;
			}
			.btn{
				background: #20A634;
				border-radius: 40rpx;
				padding: 0 90rpx;
				box-sizing: border-box;
				width: fit-content;
				height: 80rpx;
				font-size: 32rpx;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				text-align: center;
				color: #ffffff;
				line-height: 80rpx;
				margin: 40rpx auto 20rpx auto;
			}
			.btn-box{
				display: flex;
				justify-content: space-around;
				margin-top: 40rpx;
				button{
					width: 200rpx;
					height: 80rpx;
					border: 1px solid #20a634;
					border-radius: 40rpx;
					font-size: 32rpx;
					font-family: PingFang SC, PingFang SC-Regular;
					font-weight: 400;
					text-align: center;
					background-color: #20a634;
					color: white;
					line-height: 80rpx;
					&:nth-child(1){
						background-color: white;
						color: #20a634;
					}
				}
			}
		}
	}
}

// 公共表单
.common-form{
	width: 100%;
	box-sizing: border-box;
	padding: 10rpx 30rpx;
	.form-title{
		font-size: 32rpx;
		font-family: PingFang SC, PingFang SC-Regular;
		font-weight: 400;
		text-align: left;
		color: #060606;
		margin: 30rpx 0 23rpx 0;
		&.required{
			&:before{
				content: '*';
				font-size: 32rpx;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				text-align: left;
				color: #ff0000;
				vertical-align: middle;
				margin-right: 2rpx;
			}
		}
		.tip{
			color: #999999;
		}
	}
	.form-item{
		padding-bottom: 10rpx;
		border-bottom: 1px solid #d9d9d95c;
		display: flex;
		justify-content: space-between;
		align-items: center;
		&.no-border{
		border-bottom: none;
		}
		input{
			flex: 1;
		}
		.iconfont2{
			color: #808080;
			font-size: 40rpx;
		}
		.u-upload{
			margin-bottom: 30rpx;
			.uicon-plus{
				font-size: 50rpx!important;
				color: #999999;
			}
			.u-add-tips{
				margin-top: 0;
			}
		}
		.upload-tip{
			font-size: 26rpx;
			font-family: PingFang SC, PingFang SC-Regular;
			font-weight: 400;
			text-align: left;
			color: #666666;
			line-height: 40rpx;
			margin-bottom: 40rpx;
		}
	}
	.submit-btn{
		width: 690rpx;
		height: 80rpx;
		line-height: 80rpx;
		margin: 20rpx auto;
		background: #FF721B;
		border-radius: 40px;
		text-align: center;
		font-size: 32rpx;
		font-family: PingFang SC, PingFang SC-Regular;
		font-weight: 400;
		text-align: center;
		color: #ffffff;
	}
	.form-tip{
		font-size: 26rpx;
		font-family: PingFang SC, PingFang SC-Regular;
		font-weight: 400;
		text-align: left;
		color: #666666;
		line-height: 40rpx;
		margin: 27rpx 0 60rpx 0;
	}
	.form-split{
		width: 750rpx;
		height: 8rpx;
		background: #f5f5f5;
		margin: 40rpx 0 40rpx -30rpx;
	}
}


//服务体系礼包
.service-sys-moudle{
	padding: 0 0 0 30rpx;
	box-sizing: border-box;
	margin: 0 0 50rpx 0;
	.title-box{
		font-size: 36rpx;
		font-family: PingFang SC, PingFang SC-Bold;
		font-weight: 700;
		text-align: left;
		color: #1a1a1a;
		line-height: 30rpx;
		margin-bottom: 30rpx;
	}
	.content{
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		.item{
			display: inline-block;
			text-align: center;
			margin-right: 20rpx;
			filter: drop-shadow(1px 2px 4px rgba(26, 58, 70, 0.1));
			.cover{
				width: 217rpx;
				height: 217rpx;
				margin-bottom: 10rpx;
				border-radius: 10rpx;
			}
			.title{
				font-size: 24rpx;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				color: #333333;
				line-height: 24rpx;
				margin-bottom: 15rpx;
				width: 217rpx;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}
			.new-price{
				margin-bottom: 5rpx;
				.company,.float-num{
					font-size: 20rpx;
					font-family: PingFang SC, PingFang SC-Medium;
					font-weight: 500;
					color: #00bf5a;
					line-height: 24rpx;
				}
				.num{
					font-size: 36rpx;
					font-family: PingFang SC, PingFang SC-Medium;
					font-weight: bold;
					color: #00bf5a;
					line-height: 24rpx;
				}
			}
			.old-price{
				font-size: 22rpx;
				font-family: PingFang SC, PingFang SC-Regular;
				font-weight: 400;
				text-decoration:  line-through;
				color: #999999;
				line-height: 24rpx;
			}
		}
	}
}

//标签页
.tab-box {
	position: sticky;
	top: 0;
	left: 0;
	background-color: white;
	z-index: 50;
	height: 110rpx;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 106rpx 0 106rpx;
	box-sizing: border-box;
	border-bottom: 1px solid #e6e6e6;
	.tab {
		height: 110rpx;
		line-height: 110rpx;
		font-size: 30rpx;
		font-family: PingFang SC, PingFang SC-Bold;
		font-weight: 700;
		text-align: center;
		position: relative;
		color: #1a1a1a;
		&::before {
			content: '';
			position: absolute;
			left: 50%;
			bottom: 0;
			transform: translateX(-50%);
			width: 0;
			height: 2px;
			background: #FF721B;
			transition: all 0.3s;
		}
		&.active {
			color: #FF721B;
			&::before {
				width: 100%;
			}
		}
	}
}


//查看更多
.u-load-more-wrap{
	margin-top: 30rpx!important;
}


// 富文本展示
.ql-editor-box{
	text-align: justify;
	/deep/ .ql-indent-1 {
		margin-left: 96rpx;
	}
	/deep/ .ql-indent-2 {
		margin-left: 192rpx;
	}
	/deep/ .ql-indent-3 {
		margin-left: 288rpx;
	}
	/deep/ .ql-indent-4 {
		margin-left: 384rpx;
	}
	/deep/ .ql-indent-5 {
		margin-left: 480rpx;
	}
	/deep/ .ql-indent-6 {
		margin-left: 576rpx;
	}
	/deep/ .ql-indent-7 {
		margin-left: 672rpx;
	}
	/deep/ .ql-indent-8 {
		margin-left: 768rpx;
	}
		
	/deep/ img {
		max-width: 100%;
	}
		
	/deep/ .ql-align-center {
		text-align: center;
	}
		
	/deep/ .ql-align-right {
		text-align: right;
	}
		
	/deep/ blockquote {
		display: block;
		border-left: 8px solid #d0e5f2;
		padding: 5px 10px;
		margin: 10px 0;
		line-height: 1.4;
		font-size: 100%;
		background-color: #f1f1f1;
	}
		
	/deep/ .ql-indent-1 {
		margin-left: 60rpx;
	}
		
	/deep/ .ql-indent-2 {
		margin-left: 120rpx;
	}
		
	/deep/ .ql-indent-3 {
		margin-left: 180rpx;
	}
		
	/deep/ .ql-indent-4 {
		margin-left: 240rpx;
	}
		
	/deep/ .ql-indent-5 {
		margin-left: 300rpx;
	}
	/deep/ .ql-size-huge{
		font-size: 80rpx;
		display: inline-block;
		line-height: 90rpx;
	}
	/deep/ .ql-size-large{
		font-size: 48rpx;
		display: inline-block;
		line-height: 50rpx;
	}
	/deep/ .ql-size-small{
		font-size: 24rpx;
		display: inline-block;
		line-height: 30rpx;
	}
		
	/deep/ .ql-font-serif{
		font-family: Georgia, Times New Roman, serif;
	}
	/deep/ .ql-font-monospace{
		font-family: Monaco, Courier New, monospace;
	}
}